package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 收付费账单表
 * </p>
 *
 * @author Generator
 * @since 2025-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_receipt_payment_bills")
@ApiModel(value = "CgnciReceiptPaymentBillsDO对象", description = "收付费账单表")
public class CgnciReceiptPaymentBillsDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增编号")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("账单编号")
    private String invoiceNumber;

    @ApiModelProperty("保单号")
    private String policyNumber;

    @ApiModelProperty("账单接收人")
    private String billRecipient;

    @ApiModelProperty("合约名称")
    private String contractName;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("赔案名称")
    private String claimName;

    @ApiModelProperty("赔案Id")
    private String claimId;

    @ApiModelProperty("账单币种")
    private String currency;

    @ApiModelProperty("收付方向")
    private String direction;

    @ApiModelProperty("账单类型")
    private String billType;

    @ApiModelProperty("应收付日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dueDate;

    @ApiModelProperty("账单期限")
    private String billingCycle;

    @ApiModelProperty("缴费期次")
    private Integer paymentPeriod;

    @ApiModelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("账单状态")
    private String status;

    @ApiModelProperty("结算单编号")
    private Long statementNumber;

    @ApiModelProperty("删除标志位（0：未删除，1：已删除）")
    private String isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
